<div id="fh-contact" onmouseover="toBig();" onmouseout="toSmall();" style="position:absolute;">
    <div class="kflabel"></div>
    <div class="contact _float">
        <div class="title"></div>
        <div class="info">
            <div class="label">凤凰365QQ客服</div>
            <div class="item" title="凤凰客服 1298364697">
                <img src="http://wpa.qq.com/pa?p=1:1298364697:17" height="17">
                <a href="tencent://message/?uin=1298364697&Site=http://www.zgfh.net&Menu=yes" target="_blank">凤凰客服 1</a>
            </div>
            <div class="item" title="凤凰客服 277928069">
                <img src="http://wpa.qq.com/pa?p=1:277928069:17" height="17">
                <a href="tencent://message/?uin=277928069&Site=http://www.zgfh.net&Menu=yes" target="_blank">凤凰客服 2</a>
            </div>
            <div class="item" title="张家界客服 76403014">
                <img src="http://wpa.qq.com/pa?p=1:76403014:17" height="17">
                <a href="tencent://message/?uin=76403014&Site=http://www.zgfh.net&Menu=yes" target="_blank">张家界客服</a>
            </div>
            <div class="item" title="梵净山客服 465239685">
                <img src="http://wpa.qq.com/pa?p=1:465239685:17" height="17">
                <a href="tencent://message/?uin=465239685&Site=http://www.zgfh.net&Menu=yes" target="_blank">梵净山客服</a>
            </div>
            <div class="guestbook"><a href="/index.php?m=guestbook&c=index&a=register" target="_blank"></a></div>
        </div>
        <div class="foot"></div>
    </div>
</div>
<script language="javascript">
    qq_contact = function (id, _top, _left) {
        var me = id.charAt ? document.getElementById(id) : id,
            d1 = document.body,
            d2 = document.documentElement;
        // [(_left>0?'left':'left')]=_left?Math.abs(_left)+'px':0;
        d1.style.height = d2.style.height = '100%';
        me.style.top = _top ? _top + 'px' : 0;
        me.style.left = _left + "px";
        me.style.position = 'absolute';

        setInterval(function () {
            me.style.top = parseInt(me.style.top)+(Math.max(d1.scrollTop,d2.scrollTop)+_top-parseInt(me.style.top))*0.1+'px';
        }, 10+parseInt(Math.random()*20));

        return arguments.callee;
    };
    window.onload = function () {
        qq_contact('fh-contact', 120, -152);
    }
</script>
<script language="javascript">
(function() {
    var InterTime = 1;
    var maxWidth = -1;
    var minWidth = -152;
    var numInter = 8;
    
    var BigInter ;
    var SmallInter ;
    
    var o =  document.getElementById("fh-contact");
    var i = parseInt(o.style.left);
    function Big()
    {
        if(parseInt(o.style.left)<maxWidth)
        {
            i = parseInt(o.style.left);
            i += numInter;    
            o.style.left=i+"px";    
            if(i==maxWidth) clearInterval(BigInter);
        }
    }
    function Small()
    {
        if(parseInt(o.style.left)>minWidth)
        {
            i = parseInt(o.style.left);
            i -= numInter;
            o.style.left=i+"px";
            
            if(i==minWidth) clearInterval(SmallInter);
        }
    }
    toBig = function() {
        clearInterval(SmallInter);
        clearInterval(BigInter);
        BigInter = setInterval(Big,InterTime);
    };
    toSmall = function() {
        clearInterval(SmallInter);
        clearInterval(BigInter);
        SmallInter = setInterval(Small,InterTime);
    };
})();
</script>
